package com.ys.enume.sys;

/**
 * 正则表达式
 */
public class RegexUtilEnum {
	
	public enum DefaultValue {
		DECIMAL_OR_NOT("是否是小数", "^\\d+(\\.\\d+)?$"),
		TWO_DECIMAL_POINTS("是否是两位点小数", "^[0-9]+(.[0-9]{0,2})?$");
		public String name;
		public String value;

		private DefaultValue(String name, String value) {
			this.name = name;
			this.value = value;
		}
	}
}
